import { getArtlistApi } from '../../api/art'
export default {
  state: {
    artlist: []
  },
  mutations: {
    setArtlist (state, list) {
      state.artlist = list
    }
  },
  actions: {
    async AgetArtlist (context) {
      const res = await getArtlistApi()
      context.commit('setArtlist', res.data.data)
    }
  },
  getters: {},
  namespaced: true
}
